<%@include file="/template/page_config.jsp" %>

<c:set var="errors" value='${requestScope.ERROR}'></c:set>
<c:set var="messages" value='${requestScope.MESSAGE}'></c:set>

<c:choose>
    <c:when test="${errors ne null and not empty errors}">
        <div class="message">
            <c:forEach var="msg" items="${errors}">
                <div>${msg}</div>
            </c:forEach>
        </div>
    </c:when>
    <c:when test="${messages ne null and not empty messages}">
        <div class="message_alert">
            <c:forEach var="msg" items="${messages}">
                <div>${msg}</div>
            </c:forEach>
        </div>
    </c:when>
</c:choose>
